<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
	<title>reguser</title>
	<link rel="stylesheet" type="text/css" href="./bootstrap-3.3.5-dist/css/bootstrap.min.css">
</head>
<body>
<center><h2>请注册用户信息</h2></center>
<form class="form-horizontal" method="post" action="admin.php?c=user&m=adduser" enctype="multipart/form-data"><!--文件上传必须要用post-->
<div class="form-group">
    <label for="inputEmail3" class="col-md-3 control-label">姓名</label>
    <div class="col-md-6">
      <input type="text" class="form-control" id="inputEmail3" placeholder="姓名" name="username"><!--placeholder 站位-->
    </div>
  </div>

  <div class="form-group">
    <label for="inputPassword3" class="col-md-3 control-label">密码</label>
    <div class="col-md-6">
      <input type="password" class="form-control" id="inputPasseord3" placeholder="密码" name="password"><!--placeholder 站位-->
    </div>
  </div>

  <div class="form-group">
    <label for="inputGender3" class="col-md-3 control-label">性别</label>
    <div class="col-md-6">
      <label class="radio-inline">
  <input type="radio" name="gender" id="inlineRadio1" value="0"> 男
</label>
<label class="radio-inline">
  <input type="radio" name="gender" id="inlineRadio2" value="1"> 女
</label>
    </div>
  </div>

  <div class="form-group">
    <label for="inputDate3" class="col-md-3 control-label">生日</label>
    <div class="col-md-6">
      <input type="date" class="form-control" id="inputDate3" placeholder="生日" name="birthdate"><!--placeholder 站位-->
    </div>
    </div>

    <div class="form-group">
    <label for="inputHobby3" class="col-md-3 control-label">爱好</label>
    <div class="col-md-6">
      <label class="checkbox-inline">
  <input type="checkbox" id="inlineCheckbox1" name="hobby[]" value="旅游"> 旅游
</label>
<label class="checkbox-inline">
  <input type="checkbox" id="inlineCheckbox2" name="hobby[]" value="登山"> 登山
</label>
<label class="checkbox-inline">
  <input type="checkbox" id="inlineCheckbox3" name="hobby[]" value="上网"> 上网
</label>
<label class="checkbox-inline">
  <input type="checkbox" id="inlineCheckbox3" name="hobby[]" value="游泳"> 游泳
</label>
    </div>
    </div>

    <div class="form-group">
    <label for="inputTid3" class="col-md-3 control-label">学历</label>
    <div class="col-md-6">
      <select class="form-control" name="degree">
  <option value="1">高中</option>
  <option value="2">大学</option>
  <option value="3">研究生</option>
  <option value="4">博士</option>
</select>
    </div>
    </div>

    <div class="form-group">
    <label for="inputIntro3" class="col-md-3 control-label">自我介绍</label>
    <div class="col-md-6">
      <textarea class="form-control" rows="3" id="inputIntro3" name="intro"></textarea>
    </div>
  </div>

    <div class="form-group">
    <label for="inputPic3" class="col-md-3 control-label">头像</label>
    <div class="col-md-6">
      <input type="file" name="pic">
    </div>
    </div>

    <div class="form-group">
    <div class="col-md-offset-3 col-md-6">
      <button type="submit" class="btn btn-default">添加</button>
      <button type="reset" class="btn btn-default">重置</button>
    </div>
  </div>

</form>

</body>
</html>